package com.hakim.wfb.customer.enums;



public enum TerminalType {

	ANDROID(1,"","安卓"),
	IOS(2,"","苹果"),
	H5(3,"","H5"),
	WEB(4,"","WEB"),
	TerminalType;

	private Integer code;
	private String value;
	private String bundleKey;


	TerminalType() {
	}

	TerminalType(Integer code, String value, String bundleKey) {
		this.code=code;
		this.value=value;
		this.bundleKey=bundleKey;
	}

	public static TerminalType getByCode(String code) {
		for (TerminalType type : values()) {
			if (type.getCode().equals(code)) {
				return type;
			}
		}
		return null;
	}


	public void setCode(Integer code) {
		this.code=code;
	}

	public Integer getCode() {
		return code;
	}

	public void setValue(String value) {
		this.value=value;
	}

	public String getValue() {
		return value;
	}

	public void setBundleKey(String bundleKey) {
		this.bundleKey=bundleKey;
	}

	public String getBundleKey() {
		return bundleKey;
	}

}